package net.csdn.business.common.domain.common;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import net.csdn.business.common.constant.AuditConstants;
import net.csdn.business.common.enums.AuditEnum;

/**
 * @author likun
 * @date 2022/7/7 19:25
 */
public class AuditStatusQueryWrapper<T> extends QueryWrapper<T> {
    public AuditStatusQueryWrapper() {
        super();
        this.ge(AuditConstants.FIELD_AUDIT_STATUS, AuditEnum.AuditStatusEnum.INIT.getCode());
    }

    public AuditStatusQueryWrapper(AuditEnum.AuditStatusEnum auditStatusEnum) {
        super();
        this.ge(AuditConstants.FIELD_AUDIT_STATUS, auditStatusEnum.getCode());
    }

    public AuditStatusQueryWrapper(T entity) {
        super(entity);
        this.ge(AuditConstants.FIELD_AUDIT_STATUS, AuditEnum.AuditStatusEnum.INIT.getCode());
    }
}